package com.lxmes.hr.service;

import java.util.List;
import com.lxmes.hr.domain.NcAbnormalAttend;

/**
 * 考勤异动Service接口
 *
 * @author ruoyi
 * @date 2022-11-29
 */
public interface INcAbnormalAttendService
{
    /**
     * 查询考勤异动
     *
     * @param id 考勤异动主键
     * @return 考勤异动
     */
    public NcAbnormalAttend selectNcAbnormalAttendById(Long id);

    /**
     * 查询考勤异动列表
     *
     * @param ncAbnormalAttend 考勤异动
     * @return 考勤异动集合
     */
    public List<NcAbnormalAttend> selectNcAbnormalAttendList(NcAbnormalAttend ncAbnormalAttend);

    /**
     * 新增考勤异动
     *
     * @param ncAbnormalAttend 考勤异动
     * @return 结果
     */
    public int insertNcAbnormalAttend(NcAbnormalAttend ncAbnormalAttend);

    /**
     * 修改考勤异动
     *
     * @param ncAbnormalAttend 考勤异动
     * @return 结果
     */
    public int updateNcAbnormalAttend(NcAbnormalAttend ncAbnormalAttend);

    /**
     * 批量删除考勤异动
     *
     * @param ids 需要删除的考勤异动主键集合
     * @return 结果
     */
    public int deleteNcAbnormalAttendByIds(Long[] ids);

    /**
     * 删除考勤异动信息
     *
     * @param id 考勤异动主键
     * @return 结果
     */
    public int deleteNcAbnormalAttendById(Long id);

    String imporIteminfo(List<NcAbnormalAttend> userList, boolean updateSupport, String operName);
}
